/*
 * Copyright (C) 2018 yixun All Rights Reserved.
 *
 * ApiLogMapper.java
 */
package com.yixun.qfbao.mapper;

import com.yixun.qfbao.model.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgencyReportMapper {

    List<AgencyHisReportedPremises> getAgencyHisReportedPremises(@Param("param") AgencyReportParam param);

    int getAgencyPremisesSalesReportCount(@Param("param") AgencyReportParam param);

    List<AgencyPremisesSalesReport> getAgencyPremisesSalesReportList(
            @Param("param") AgencyReportParam param,
            @Param("beginNum") int beginNum, @Param("endNum") int endNum);

    int getAgencyCompanyReportCount(@Param("param") AgencyReportParam param);

    List<AgencyCompanyReport> getAgencyCompanyReportList(
            @Param("param") AgencyReportParam param,
            @Param("beginNum") int beginNum, @Param("endNum") int endNum);

    int getAgencyOrgReportCount(@Param("param") AgencyReportParam param);

    List<AgencyOrgReport> getAgencyOrgReportList(
            @Param("param") AgencyReportParam param,
            @Param("beginNum") int beginNum, @Param("endNum") int endNum);

    int getAgencyStoreReportCount(@Param("param") AgencyReportParam param);

    List<AgencyStoreReport> getAgencyStoreReportList(
            @Param("param") AgencyReportParam param,
            @Param("beginNum") int beginNum, @Param("endNum") int endNum);

    int getAgencyGroupReportCount(@Param("param") AgencyReportParam param);

    List<AgencyGroupReport> getAgencyGroupReportList(@Param("param") AgencyReportParam param, @Param("beginNum") int begin, @Param("endNum") int end);

    int getAgencyAgentReportCount(@Param("param") AgencyReportParam param);

    List<AgencyAgentReport> getAgencyAgentReportList(@Param("param") AgencyReportParam param, @Param("beginNum") int begin, @Param("endNum") int end);
}
